package com.example.demo4.sentinel.feign;

import com.example.demo4.sentinel.feign.impl.ProviderFeignClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "provider", path = "demo", fallback = ProviderFeignClientImpl.class)
public interface ProviderFeignClient {
    @GetMapping("/provider")
    String provider();
}
